<template>
  <div>
    <ul
      class="describe"
      v-if="detailObjTwo.details && detailObjTwo.details.properties"
    >
      <li v-for="(item, index) in detailObjTwo.details.properties" :key="index">
        <span class="span">{{ item.name }}</span>
        <span class="span1">{{ item.value }}</span>
      </li>
    </ul>
    <div class="img" v-if="detailObjTwo.details">
      <img
        v-for="(item, index) in detailObjTwo.details.pictures"
        :key="index"
        :src="item"
        alt=""
      />
    </div>
  </div>
</template>

<script>
export default {
  props: ["detailObjTwo"],
};
</script>

<style lang="scss" scoped>
.describe {
  width: 100%;
  min-height: 98px;
  display: flex;
  flex-wrap: wrap;
  padding-left: 30px;
  margin-top: 30px;
  li {
    width: 430px;
    background-color: #fff;
    height: 39px;
    font-size: 14px;
    display: flex;
    margin-bottom: 10px;
    .span {
      width: 100px;
      height: 100%;
      color: #ccc;
    }
    .span1 {
      flex: 1;
      color: #666;
    }
  }
}
.img {
  width: 100%;
  margin-left: 25px;
  margin-top: 30px;
  img {
    width: 860px;
    height: 229px;
    margin-top: -4px;
  }
  // background-color: red;
}
</style>
